<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
    xmlns:p="http://primefaces.prime.com.tr/ui" template="/layout/principal.xhtml">

    <ui:define name="content">

        <h1 class="title ui-widget-header ui-corner-all"><h:outputText value="Nuevo Agente" /></h1>

        <h:form id="form">

            <p:growl id="growl" showDetail="true" life="3000" />

            <p:panel id="pnl">
                <h:panelGrid columns="4" cellpadding="5">
                    <h:outputText value="Nuevos de Agente: " />
                    <h:inputText value=" " />

                    <h:outputText value="Contraseña: " />
                    <h:inputText value=" " />

                    <h:outputText value="Nombre: " />
                    <h:inputText value=" " />

                    <h:outputText value="Repita contraseña:  " />
                    <h:inputText value=" " />

                </h:panelGrid>

                <p:commandButton value="Guardar" action="#{campaign.editar}" />
                <p:commandButton value="Cancelar" action="#{campaign.eliminar}" />
            </p:panel>
        </h:form>
    </ui:define>
</ui:composition>